package chapter01.v2;

/**
 * 租赁
 * @author buxingdeyu
 *
 */
public class Rental {
	
	private Movie _movie;
	
	private int _daysRented ;//租期

	public Rental(Movie _movie, int _daysRented) {
		super();
		this._movie = _movie;
		this._daysRented = _daysRented;
	}

	public Movie getMovie() {
		return _movie;
	}

	public void setMovie(Movie _movie) {
		this._movie = _movie;
	}

	public int getDaysRented() {
		return _daysRented;
	}

	public void setDaysRented(int _daysRented) {
		this._daysRented = _daysRented;
	}
	
}
